package com.tj.bo.trade.client.response;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @program: binary-option
 * @description 交易信息
 * @author: binary
 * @create: 2020-06-05 14:49
 **/
public class TradeInfoRO implements Serializable {
    private static final long serialVersionUID = 5650236637797284546L;

    /**
     *交易号
     */
    private String tradeNo;
    /**
     *客户号
     */
    private String userCode;
    /**
     *产品code BCHUSD,GBPJPY,EURJPY
     */
    private String productCode;
    private String productName;
    private String productIcon;
    /**
     *下单周期，如1min 3min 5min
     */
    private Integer productPeriod;
    /**
     * 订单类型 0:虚拟订单 1:真实订单
     */
    private Integer tradeType;
    /**
     * 下单趋势，0:压跌 1:压涨
     */
    private Integer trendType;
    /**
     * 货币类型 0:INR
     */
    private Integer coinType;
    /**
     *下单金额
     */
    private BigDecimal amount;
    /**
     *盈利金额
     */
    private BigDecimal profitAmount;
    /**
     *订单状态 1：开盘中 2：已开盘
     */
    private Integer orderStatus;
    private String orderStatusText;
    /**
     *盈利状态 0：未盈利 1：盈利
     */
    private Integer profitStatus;
    /**
     *开盘时间
     */
    private Date openingTime;
    /**
     *开盘价格
     */
    private BigDecimal openingPrice;
    /**
     *收盘时间
     */
    private Date closingTime;
    /**
     *收盘价格
     */
    private BigDecimal closingPrice;
    /**
     *创建日期
     */
    private Date createDate;
    /**
     * 剩余刷新秒数
     */
    private Integer refreshSeconds;

    private Long expectDeadline;

    private String profitPercent;

    public String getProfitPercent() {
        return profitPercent;
    }

    public TradeInfoRO setProfitPercent(String profitPercent) {
        this.profitPercent = profitPercent;
        return this;
    }

    public Long getExpectDeadline() {
        return expectDeadline;
    }

    public TradeInfoRO setExpectDeadline(Long expectDeadline) {
        this.expectDeadline = expectDeadline;
        return this;
    }

    public String getProductName() {
        return productName;
    }

    public TradeInfoRO setProductName(String productName) {
        this.productName = productName;
        return this;
    }

    public String getProductIcon() {
        return productIcon;
    }

    public TradeInfoRO setProductIcon(String productIcon) {
        this.productIcon = productIcon;
        return this;
    }

    public String getOrderStatusText() {
        return orderStatusText;
    }

    public TradeInfoRO setOrderStatusText(String orderStatusText) {
        this.orderStatusText = orderStatusText;
        return this;
    }

    public Integer getRefreshSeconds() {
        return refreshSeconds;
    }

    public TradeInfoRO setRefreshSeconds(Integer refreshSeconds) {
        this.refreshSeconds = refreshSeconds;
        return this;
    }

    public Integer getProductPeriod() {
        return productPeriod;
    }

    public TradeInfoRO setProductPeriod(Integer productPeriod) {
        this.productPeriod = productPeriod;
        return this;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public TradeInfoRO setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }

    public String getUserCode() {
        return userCode;
    }

    public TradeInfoRO setUserCode(String userCode) {
        this.userCode = userCode;
        return this;
    }

    public String getProductCode() {
        return productCode;
    }

    public TradeInfoRO setProductCode(String productCode) {
        this.productCode = productCode;
        return this;
    }

    public Integer getTradeType() {
        return tradeType;
    }

    public TradeInfoRO setTradeType(Integer tradeType) {
        this.tradeType = tradeType;
        return this;
    }

    public Integer getTrendType() {
        return trendType;
    }

    public TradeInfoRO setTrendType(Integer trendType) {
        this.trendType = trendType;
        return this;
    }

    public Integer getCoinType() {
        return coinType;
    }

    public TradeInfoRO setCoinType(Integer coinType) {
        this.coinType = coinType;
        return this;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public TradeInfoRO setAmount(BigDecimal amount) {
        this.amount = amount;
        return this;
    }

    public BigDecimal getProfitAmount() {
        return profitAmount;
    }

    public TradeInfoRO setProfitAmount(BigDecimal profitAmount) {
        this.profitAmount = profitAmount;
        return this;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public TradeInfoRO setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
        return this;
    }

    public Integer getProfitStatus() {
        return profitStatus;
    }

    public TradeInfoRO setProfitStatus(Integer profitStatus) {
        this.profitStatus = profitStatus;
        return this;
    }

    public Date getOpeningTime() {
        return openingTime;
    }

    public TradeInfoRO setOpeningTime(Date openingTime) {
        this.openingTime = openingTime;
        return this;
    }

    public BigDecimal getOpeningPrice() {
        return openingPrice;
    }

    public TradeInfoRO setOpeningPrice(BigDecimal openingPrice) {
        this.openingPrice = openingPrice;
        return this;
    }

    public Date getClosingTime() {
        return closingTime;
    }

    public TradeInfoRO setClosingTime(Date closingTime) {
        this.closingTime = closingTime;
        return this;
    }

    public BigDecimal getClosingPrice() {
        return closingPrice;
    }

    public TradeInfoRO setClosingPrice(BigDecimal closingPrice) {
        this.closingPrice = closingPrice;
        return this;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public TradeInfoRO setCreateDate(Date createDate) {
        this.createDate = createDate;
        return this;
    }
}
